import request from '@/utils/request'

export function getPurchase() {
  let url = '/api/purchase'
  return request({
    url: url,
    method: 'get'
  })
}

export function postPurchase(data) {
  let url = '/api/purchase'
  return request({
    url: url,
    method: 'post',
    data: data
  })
}

